package com.ls.rbac.entity.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serial;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(name = "DeptVo", description = "部门视图对象")
public class DeptVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @Schema(description = "部门id")
    private Integer id;


    /**
     * 部门名称
     */
    @Schema(description = "部门名称")
    private String deptName;

    /**
     * 部门电话
     */
    @Schema(description = "部门电话")
    private String phone;

    /**
     * 部门地址
     */
    @Schema(description = "部门地址")
    private String address;

    /**
     * 上级部门id
     */
    @Schema(description = "上级部门id")
    private Integer pid;

    /**
     * 排序号
     */
    @Schema(description = "排序号")
    private Integer orderNum;

}
